﻿// $Id: $
// $DateTime: $
// Copyright © 2008 Tristen Fielding

using System;
using System.Collections.Generic;

using ResXFileCodeGenerator.Internal;

namespace ResXFileCodeGenerator.Internal
{
    /// <summary>
    /// Tracks the error information for a given resource that can't be generated.
    /// </summary>
    internal sealed class ResourceError
    {
        public ResourceError(ResourceData item, string errorMessage)
        {
            Item = item;
            Message = errorMessage;
        }

        public ResourceData Item { get; private set;}
        public string Message { get; private set;}
    }
}